#define  _CRT_SECURE_NO_WARNINGS 1
#include"list.h"
void Testlist1()
{
	LTNode* plist = LTInit();
	LTPushBack(plist,1);
	LTPushBack(plist, 1);
	LTPushBack(plist, 1);
	LTPushFront(plist,2);
	LTPopBack(plist);
	LTPopFront(plist);
	LTNode* pos = LTFind(plist,2);
	if (pos)
	{
		LTInsert(pos, 20);
	}
	pos = LTFind(plist, 2);
	if (pos)
	{
		LTInsert(pos, 20);
	}
	LTPrint(plist);
	LTDestroy(plist);
	plist = NULL;
}

int main()
{
	Testlist1();
	return 0;
}

